import service from '@/utils/request'
// @Tags UniversityStudentScore
// @Summary 创建学成绩
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.UniversityStudentScore true "创建学成绩"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /USS/createUniversityStudentScore [post]
export const createUniversityStudentScore = (data) => {
  return service({
    url: '/USS/createUniversityStudentScore',
    method: 'post',
    data
  })
}

// @Tags UniversityStudentScore
// @Summary 删除学成绩
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.UniversityStudentScore true "删除学成绩"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /USS/deleteUniversityStudentScore [delete]
export const deleteUniversityStudentScore = (params) => {
  return service({
    url: '/USS/deleteUniversityStudentScore',
    method: 'delete',
    params
  })
}

// @Tags UniversityStudentScore
// @Summary 批量删除学成绩
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除学成绩"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /USS/deleteUniversityStudentScore [delete]
export const deleteUniversityStudentScoreByIds = (params) => {
  return service({
    url: '/USS/deleteUniversityStudentScoreByIds',
    method: 'delete',
    params
  })
}

// @Tags UniversityStudentScore
// @Summary 更新学成绩
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.UniversityStudentScore true "更新学成绩"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /USS/updateUniversityStudentScore [put]
export const updateUniversityStudentScore = (data) => {
  return service({
    url: '/USS/updateUniversityStudentScore',
    method: 'put',
    data
  })
}

// @Tags UniversityStudentScore
// @Summary 用id查询学成绩
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query model.UniversityStudentScore true "用id查询学成绩"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /USS/findUniversityStudentScore [get]
export const findUniversityStudentScore = (params) => {
  return service({
    url: '/USS/findUniversityStudentScore',
    method: 'get',
    params
  })
}

// @Tags UniversityStudentScore
// @Summary 分页获取学成绩列表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取学成绩列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /USS/getUniversityStudentScoreList [get]
export const getUniversityStudentScoreList = (params) => {
  return service({
    url: '/USS/getUniversityStudentScoreList',
    method: 'get',
    params
  })
}

// @Tags UniversityStudentScore
// @Summary 不需要鉴权的学成绩接口
// @Accept application/json
// @Produce application/json
// @Param data query exampleReq.UniversityStudentScoreSearch true "分页获取学成绩列表"
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
// @Router /USS/getUniversityStudentScorePublic [get]
export const getUniversityStudentScorePublic = () => {
  return service({
    url: '/USS/getUniversityStudentScorePublic',
    method: 'get',
  })
}
